package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品图片全部路径对象 product_picture
 * 
 * @author ruoyi
 * @date 2023-12-06
 */
public class ProductPicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 商品图片路径 */
    @Excel(name = "商品图片路径")
    private String productPicture;

    /** intro */
    @Excel(name = "intro")
    private String intro;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductPicture(String productPicture) 
    {
        this.productPicture = productPicture;
    }

    public String getProductPicture() 
    {
        return productPicture;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("productPicture", getProductPicture())
            .append("intro", getIntro())
            .toString();
    }
}
